package http


case class HttpResponse(status: Int, data:Array[Byte], headers:Map[String, String]){
    def toStringEncoding(encoding: String = "utf-8") = new String(data, encoding)
}
